package com.fjwt.gz.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.fjwt.gz.core.model.BaseModel;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 审批文件oss对应关系表
 * </p>
 *
 * @author shiyonghao
 * @since 2025-04-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_au_audit_oss")
public class AuAuditOssEntity extends BaseModel {

    public static LambdaQueryWrapper<AuAuditOssEntity> gw(){
        return new LambdaQueryWrapper<>();
    }

    /**
     * 审批文件记录ID
     */
    @TableId(value = "audit_oss_id", type = IdType.AUTO)
    private Long auditOssId;

    /**
     * 审批记录ID
     */
    private Long auditRecordsId;

    /**
     * oss记录ID
     */
    private Long ossRecordId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /**
     * 业务id(coupon_id)
     */
    private Long infoId;

    /**
     * 文件类型
     * 1 卡券设置函
     * 2 卡券回执函
     */
    private Integer fileType;


}
